import React from 'react'
import { useSearchParams } from 'react-router-dom'

//显示分类

export default function NoteList() {
  const [params] = useSearchParams()
  const category = params.get('category')
  return (
    <div>
        <h1>{category}</h1>
    </div>
  )
}
